using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_CaseType {

		[JsonProperty, Column(DbType = "varchar(32)", IsPrimary = true, IsNullable = false)]
		public string CaseTypeID { get; set; }

		[JsonProperty]
		public int? CT_15FBCode { get; set; }

		/// <summary>
		/// 案件类型判断（案号）
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CT_CaseCodeRegexInfoCode { get; set; }

		/// <summary>
		/// 案件类型编号
		/// </summary>
		[JsonProperty, Column(StringLength = 100, IsNullable = false)]
		public string CT_Code { get; set; }

		/// <summary>
		/// 案件类型标识
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CT_identification { get; set; }

		[JsonProperty]
		public int? CT_IndustryAttribute { get; set; }

		/// <summary>
		/// 是否有标准代字（用于OCR二维码中通过案号识别案件类型）
		/// </summary>
		[JsonProperty]
		public int? CT_IsStandardWord { get; set; }

		[JsonProperty, Column(StringLength = 100, IsNullable = false)]
		public string CT_Name { get; set; }

		/// <summary>
		/// 案件类型父级ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string CT_ParentID { get; set; }

		/// <summary>
		/// 案件类型判断（内容）
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CT_RelatRegexInfoCode { get; set; }

		/// <summary>
		/// 同一级别的案件类型序号
		/// </summary>
		[JsonProperty]
		public int CT_SerialNumb { get; set; }

		/// <summary>
		/// 案件类型层级（十二大类的案件类型序号）
		/// </summary>
		[JsonProperty]
		public int CT_Sign { get; set; }

		/// <summary>
		/// 排除关键词（针对类型代字）
		/// </summary>
		[JsonProperty, Column(StringLength = 500)]
		public string ExcludeWords { get; set; }

		/// <summary>
		/// 包含关键词（针对类型代字）
		/// </summary>
		[JsonProperty, Column(StringLength = 500)]
		public string IncludeWords { get; set; }

		[JsonProperty]
		public int? IsOriginalTrial { get; set; }

		[JsonProperty, Column(StringLength = 6)]
		public string OldCategoryName { get; set; }

		/// <summary>
		/// 旧案号（收案年度为2016年以前）排除关键词
		/// </summary>
		[JsonProperty, Column(StringLength = 2000)]
		public string OldExcludeWords { get; set; }

		/// <summary>
		/// 旧案号（收案年度为2016年以前）包含关键词
		/// </summary>
		[JsonProperty, Column(StringLength = 2000)]
		public string OldIncludeWords { get; set; }

		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

	}

}
